package main

import "fmt"

func main() {

	num := 0

	for aaa := 0; aaa <= 100; aaa++ {

		num = num + aaa

		fmt.Printf("aaa is %d \n", aaa)
	}

	fmt.Printf("num is %d \n", num)
	fmt.Printf("num2 is %d \n", 100*(100+1)/2)

	name := "请叫我小王吧"

	for i, r := range name {

		//break    //break操作是跳出当前循环
		//continue //continue是跳过本次循环

		fmt.Printf("index is %d , row is %c \n", i, r)
	}
}
